﻿public class StVarAstTree : LuaAstTree
{
    public LuaAstTree Var;
    public LuaAstTree Value;

    public StVarAstTree(LuaAstTree var, LuaAstTree value)
    {
        Var = var;
        Value = value;
    }
    public override void WriteTo(ICodeWriter writer)
    {
        Var.WriteTo(writer);
        writer.Code(" = ");
        Value.WriteTo(writer);
    }
}
